package bank_access;

import mware_lib.IProxy;
import mware_lib.ISkeleton;
import mware_lib.ProxyCache;



public abstract class ManagerImplBase implements IProxy {
  public abstract String createAccount(String owner, String branch);

  public static ProxyCache<ManagerProxy> cache = new ProxyCache<>(ManagerProxy.class);
  
  public static ManagerImplBase narrowCast(Object rawObjectRef) {
    return cache.returnCached(rawObjectRef);
  }

  @Override
  public ISkeleton getSkeleton() {
    return new ManagerSkeleton(this);
  }  
}
